#ifndef UGAME_VIEW_H
#define UGAME_VIEW_H

#include "cocos2d.h"
#include "../default/UGApplication.h"
#include "../default/UGDefaultEvent.h"

USING_NS_CC;

namespace ugame {
    class UGView {
        UG_PROPERTY_GETTER(UGEventNotifier*, eventNotifier, EventNotifier);
	private:
    public:
        UGView();
        virtual ~UGView();
        virtual void notify(int eventId, int eventType, Ref* sender, float delayTime, void* eventArg);
        virtual void notify(UGEvent* event);
        RenderTexture* createStroke(Sprite* label, int size, Color3B color, GLubyte opacity);
    };
}

#endif
